package com.ssm.service;

import com.ssm.entity.Departmentpeople;
import com.ssm.entity.DepartmentpeopleDatailedent;
import com.ssm.entity.DepartmentpeopleExample;

import java.util.List;

public interface DepartmentPeopleService {
    List<Departmentpeople> listAllDepartmentpeople();
    Integer createDepartmentPeople(Departmentpeople departmentpeople);
    Integer update(Departmentpeople departmentpeople);
    Integer deleteDepartmentPeople(int id);
    Departmentpeople getDepartmentPeople(int id);   //根据主键id 获取列表
    List<Departmentpeople> getDepartmentPeopleExple(DepartmentpeopleExample departmentpeopleExample);//根据 sql语句获取列表
    List<DepartmentpeopleDatailedent> DepartmentpeopleDetailed();    //获得部门名字
}


